import {message} from "ant-design-vue";

const article = {
    namespaced:true,
    state:{
        saveText:'', // 写作字段 本地化
        title:'',
    },
    mutations:{
        // 设置saveText字段 文章的内容
        SET_SAVETEXT(state:any,text:string){
            state.saveText = text
        },
        SET_ARTICLE_TITLE(state:any,title:string){
            state.title = title
        }
    },
    action:{

    },
}

export default article
